# -*- encoding: utf-8 -*-
from odoo import api, fields, models, tools


class StockQuantAddRef(models.Model):
    _inherit = "stock.quant"

    ref = fields.Char(u'追踪号',
                      related='lot_id.ref',
                      store=True)
